using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TT.Module.sysLogin;
using System.Data;
using SfcorpDLL.dao;
using SfcorpDLL.ety;

namespace SfcorpDLL.biz
{
     public class bizBillingMonth
    {
        etyBaeSystemParamter basSysParam;
        daoBillingMonth doBillingMonth;

        public bizBillingMonth(etyBaeSystemParamter ieyBasClassDeclare)
        {
            basSysParam = ieyBasClassDeclare;
            doBillingMonth = new daoBillingMonth(basSysParam);
        }

        public IList<etyFrtAgyBns> GetBillBnsList(etyFrtAgyBns ey)
        {
            DataTable dt = doBillingMonth.GetBillBnsList(ey);
            IList<etyFrtAgyBns> ilRusult = TT.Common.Converts.ConvertToIList<etyFrtAgyBns>(dt);
            return ilRusult;
        }

        public IList<etyFrtAgyBns> GetBillComp(etyFrtAgyBns inEty)
        {
            DataTable dt = doBillingMonth.GetBillComp(inEty);
            IList<etyFrtAgyBns> ilRusult = TT.Common.Converts.ConvertToIList<etyFrtAgyBns>(dt);
            return ilRusult;
        }

    }
}